/**
 * 
 */
package Facade;

/**
 * @author sz
 *
 * create time：2012-8-9
 */
public class Facade {

	private SubSystemOne m_subSystemOne;
	private SubSystemTwo m_subSystemTwo;
	private SubSystemThree m_subSystemThree;
	
	public Facade(){
		m_subSystemOne=new SubSystemOne();
		 m_subSystemTwo = new SubSystemTwo();
		 m_subSystemThree = new SubSystemThree();
	}
	
	public void MethodA(){
		System.out.println("方法组A");
		
		m_subSystemOne.MethodOne();
		
		m_subSystemTwo.MethodTwo();
	}
	
	public void MethodB(){
		System.out.println("方法组B");
		
		m_subSystemThree.MethodThree();
	}
}
